<template>
  <el-button class="type-button" v-bind="$attrs" v-on="$listeners">
    {{name}}
  </el-button>
</template>
<script>
export default {
  name: 'TypeButton',
  props: {
    name: String | Number
  }
}
</script>
<style lang="scss" scoped>
.type-button {
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
  display: inline;
  white-space: nowrap;
  text-overflow: ellipsis;
}
</style>
